package cn.dakaqi.services;

import cn.dakaqi.entities.Welfare;
import cn.dakaqi.utils.exception.ServiceRuntimeException;
import org.springframework.data.domain.Page;

/**
 * Created by chunyang on 2016/4/18.
 */
public interface WelfareService
{
    public void save(String para)throws ServiceRuntimeException;
    public void save(Welfare welfare)throws ServiceRuntimeException;
    public void update(Welfare welfare)throws ServiceRuntimeException;
    Page<Welfare> findAll(String area, int pageNumber)throws ServiceRuntimeException;
    Welfare findOne(Long id)throws ServiceRuntimeException;
}
